/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | Evaluator.cpp | 84 ConstantExpr *CE = cast<ConstantExpr>(C); in isSimpleEnoughValueToCommitHelper() local 85 switch (CE->getOpcode()) { in isSimpleEnoughValueToCommitHelper() 88 return isSimpleEnoughValueToCommit(CE->getOperand(0), SimpleConstants, DL); in isSimpleEnoughValueToCommitHelper() 94 if (DL.getTypeSizeInBits(CE->getType()) != in isSimpleEnoughValueToCommitHelper() 95 DL.getTypeSizeInBits(CE->getOperand(0)->getType())) in isSimpleEnoughValueToCommitHelper() 97 return isSimpleEnoughValueToCommit(CE->getOperand(0), SimpleConstants, DL); in isSimpleEnoughValueToCommitHelper() 101 for (unsigned i = 1, e = CE->getNumOperands(); i != e; ++i) in isSimpleEnoughValueToCommitHelper() 102 if (!isa<ConstantInt>(CE->getOperand(i))) in isSimpleEnoughValueToCommitHelper() 104 return isSimpleEnoughValueToCommit(CE->getOperand(0), SimpleConstants, DL); in isSimpleEnoughValueToCommitHelper() 108 if (!isa<ConstantInt>(CE in isSimpleEnoughValueToCommitHelper() 312 ConstantExpr *CE = dyn_cast<ConstantExpr>(CallExpr); castCallResultIfNeeded() local [all...] |
H A D | CanonicalizeAliases.cpp | 52 auto *CE = dyn_cast<ConstantExpr>(C); in canonicalizeAlias() local 53 if (!CE) in canonicalizeAlias() 57 for (Use &U : CE->operands()) in canonicalizeAlias() 59 return CE->getWithOperands(Ops); in canonicalizeAlias()
|
H A D | GlobalStatus.cpp | 69 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(UR)) { in analyzeGlobalAux() 74 if (!isa<PointerType>(CE->getType())) in analyzeGlobalAux() 78 if (analyzeGlobalAux(CE, GS, VisitedUsers)) in analyzeGlobalAux()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 78 createReplacementInstr(ConstantExpr *CE, Instruction *Instr) { in createReplacementInstr() argument 80 unsigned OpCode = CE->getOpcode(); in createReplacementInstr() 83 SmallVector<Value *,4> CEOpVec(CE->op_begin(), CE->op_end()); in createReplacementInstr() 86 cast<GEPOperator>(CE)->getSourceElementType(), CEOps[0], in createReplacementInstr() 106 CE->getOperand(0), CE->getOperand(1), in createReplacementInstr() 107 CE->getName())); in createReplacementInstr() 122 CE->getOperand(0), CE in createReplacementInstr() 129 replaceConstantExprOp(ConstantExpr *CE, Pass *P) replaceConstantExprOp() argument 168 ConstantExpr *CE = dyn_cast<ConstantExpr>(WU); rewriteNonInstructionUses() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | ConstantsContext.h | 192 static bool classof(const ConstantExpr *CE) { in classof() argument 193 return CE->getOpcode() == Instruction::ExtractValue; in classof() 224 static bool classof(const ConstantExpr *CE) { in classof() argument 225 return CE->getOpcode() == Instruction::InsertValue; in classof() 257 static bool classof(const ConstantExpr *CE) { in classof() argument 258 return CE->getOpcode() == Instruction::GetElementPtr; in classof() 286 static bool classof(const ConstantExpr *CE) { in classof() argument 287 return CE->getOpcode() == Instruction::ICmp || in classof() 288 CE->getOpcode() == Instruction::FCmp; in classof() 479 ConstantExprKeyType(ArrayRef<Constant *> Operands, const ConstantExpr *CE) in ConstantExprKeyType() [all...] |
H A D | ConstantFold.cpp | 233 ConstantExpr *CE = dyn_cast<ConstantExpr>(C); in ExtractConstantBytes() local 234 if (!CE) return nullptr; in ExtractConstantBytes() 236 switch (CE->getOpcode()) { in ExtractConstantBytes() 239 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 248 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 254 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 262 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 268 ConstantInt *Amt = dyn_cast<ConstantInt>(CE->getOperand(1)); in ExtractConstantBytes() 280 IntegerType::get(CE->getContext(), ByteSize * 8)); in ExtractConstantBytes() 283 return ExtractConstantBytes(CE in ExtractConstantBytes() [all...] |
H A D | AbstractCallSite.cpp | 65 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(U->getUser())) in AbstractCallSite() 66 if (CE->getNumUses() == 1 && CE->isCast()) { in AbstractCallSite() 67 U = &*CE->use_begin(); in AbstractCallSite()
|
H A D | Globals.cpp | 441 if (auto *CE = dyn_cast<ConstantExpr>(C)) { in findBaseObject() 442 switch (CE->getOpcode()) { in findBaseObject() 444 auto *LHS = findBaseObject(CE->getOperand(0), Aliases); in findBaseObject() 445 auto *RHS = findBaseObject(CE->getOperand(1), Aliases); in findBaseObject() 451 if (findBaseObject(CE->getOperand(1), Aliases)) in findBaseObject() 453 return findBaseObject(CE->getOperand(0), Aliases); in findBaseObject() 459 return findBaseObject(CE->getOperand(0), Aliases); in findBaseObject()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | CFLGraph.h | 182 static bool hasUsefulEdges(ConstantExpr *CE) { 185 return CE->getOpcode() != Instruction::ICmp && 186 CE->getOpcode() != Instruction::FCmp; 509 void visitConstantExpr(ConstantExpr *CE) { 510 switch (CE->getOpcode()) { 512 auto GEPOp = cast<GEPOperator>(CE); 518 addNode(CE->getOperand(0), getAttrEscaped()); 523 addNode(CE, getAttrUnknown()); 538 addAssignEdge(CE->getOperand(0), CE); [all...] |
H A D | ConstantFolding.cpp | 125 if (Constant *CE = foldConstVectorToAPInt(Result, DestTy, C, in FoldBitCast() 127 return CE; in FoldBitCast() 273 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy); in FoldBitCast() local 274 Result.push_back(ConstantExpr::getIntToPtr(CE, DstEltTy)); in FoldBitCast() 300 auto *CE = dyn_cast<ConstantExpr>(C); in IsConstantOffsetFromGlobal() local 301 if (!CE) return false; in IsConstantOffsetFromGlobal() 304 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal() 305 CE->getOpcode() == Instruction::BitCast) in IsConstantOffsetFromGlobal() 306 return IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, DL); in IsConstantOffsetFromGlobal() 309 auto *GEP = dyn_cast<GEPOperator>(CE); in IsConstantOffsetFromGlobal() 606 ConstantFoldLoadThroughBitcastExpr(ConstantExpr *CE, Type *DestTy, const DataLayout &DL) ConstantFoldLoadThroughBitcastExpr() argument 852 auto *CE = dyn_cast<ConstantExpr>(Ops[1]); SymbolicallyEvaluateGEP() local 1370 ConstantFoldLoadThroughGEPConstantExpr(Constant *C, ConstantExpr *CE) ConstantFoldLoadThroughGEPConstantExpr() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/ |
H A D | X86Operand.h | 214 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti16i8() local 215 if (!CE) in isImmSExti16i8() 220 return isImmSExti16i8Value(CE->getValue()); in isImmSExti16i8() 228 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti32i8() local 229 if (!CE) in isImmSExti32i8() 234 return isImmSExti32i8Value(CE->getValue()); in isImmSExti32i8() 242 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i8() local 243 if (!CE) in isImmSExti64i8() 248 return isImmSExti64i8Value(CE->getValue()); in isImmSExti64i8() 256 const MCConstantExpr *CE in isImmSExti64i32() local 269 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isImmUnsignedi4() local 278 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isImmUnsignedi8() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | InferAddressSpaces.cpp | 314 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) { in appendsFlatAddressExpressionToPostorderStack() 316 if (isAddressExpression(*CE) && Visited.insert(CE).second) in appendsFlatAddressExpressionToPostorderStack() 317 PostorderStack.push_back(std::make_pair(CE, false)); in appendsFlatAddressExpressionToPostorderStack() 329 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Op->getOperand(I))) { in appendsFlatAddressExpressionToPostorderStack() 330 if (isAddressExpression(*CE) && Visited.insert(CE).second) in appendsFlatAddressExpressionToPostorderStack() 331 PostorderStack.emplace_back(CE, false); in appendsFlatAddressExpressionToPostorderStack() 501 // constant expression `CE` with its operands replaced as specified in 504 ConstantExpr *CE, unsigne in cloneConstantExprWithNewAddressSpace() 503 cloneConstantExprWithNewAddressSpace( ConstantExpr *CE, unsigned NewAddrSpace, const ValueToValueMapTy &ValueWithNewAddrSpace) cloneConstantExprWithNewAddressSpace() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/ |
H A D | ARMAsmParser.cpp | 972 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isARMBranchTarget() 973 return CE->getValue() % 4 == 0; in isARMBranchTarget() 981 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isThumbBranchTarget() 982 return CE->getValue() % 2 == 0; in isThumbBranchTarget() 992 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUnsignedOffset() 993 int64_t Val = CE->getValue(); in isUnsignedOffset() 1007 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isSignedOffset() 1008 int64_t Val = CE->getValue(); in isSignedOffset() 1022 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isLEOffset() 1023 int64_t Val = CE in isLEOffset() 1037 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val); isThumbMemPC() local 1052 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isFPImm() local 1061 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isImmediate() local 1070 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isImmediateS4() local 1078 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isImmediateS2() local 1115 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isImm0_508s4Neg() local 1124 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isImm0_4095Neg() local 1153 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isImm256_65535Expr() local 1163 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isImm0_65535Expr() local 1190 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isExpImm() local 1199 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isInvertedExpImm() local 1223 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isAdrLabel() local 1241 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isT2SOImm() local 1249 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isT2SOImmNot() local 1258 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isT2SOImmNeg() local 1268 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isSetEndImm() local 1332 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isPowerTwoInRange() local 1342 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isModImmNot() local 1350 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isModImmNeg() local 1359 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isThumbModImmNeg1_7() local 1367 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isThumbModImmNeg8_255() local 1525 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isAM2OffsetImm() local 1558 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isAM3Offset() local 1861 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isPostIdxImm8() local 1870 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isPostIdxImm8s4() local 2104 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isNEONi8splat() local 2118 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isNEONi16splat() local 2128 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isNEONi16splatNot() local 2140 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isNEONi32splat() local 2150 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isNEONi32splatNot() local 2175 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isNEONReplicate() local 2240 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isNEONi32vmovNeg() local 2248 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isNEONi64splat() local 2262 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isComplexRotation() local 2271 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isMVELongShift() local 2280 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); isMveSaturateOp() local 2490 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addModImmNotOperands() local 2497 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addModImmNegOperands() local 2504 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addThumbModImmNeg8_255Operands() local 2511 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addThumbModImmNeg1_7Operands() local 2534 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addFBits16Operands() local 2540 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addFBits32Operands() local 2546 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addFPImmOperands() local 2555 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm8s4Operands() local 2563 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm7s4Operands() local 2569 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm7Shift0Operands() local 2575 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm7Shift1Operands() local 2581 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm7Shift2Operands() local 2587 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm7Operands() local 2595 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm0_1020s4Operands() local 2603 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm0_508s4NegOperands() local 2611 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm0_508s4Operands() local 2619 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm1_16Operands() local 2627 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm1_32Operands() local 2635 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImmThumbSROperands() local 2644 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addPKHASRImmOperands() local 2653 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addT2SOImmNotOperands() local 2661 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addT2SOImmNegOperands() local 2669 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addImm0_4095NegOperands() local 2685 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); addThumbMemPCOperands() local 2752 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addAdrLabelOperands() local 3092 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); addPostIdxImm8Operands() local 3103 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); addPostIdxImm8s4Operands() local 3132 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addPowerTwoOperands() local 3227 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONi8splatOperands() local 3234 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONi16splatOperands() local 3243 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONi16splatNotOperands() local 3252 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONi32splatOperands() local 3261 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONi32splatNotOperands() local 3269 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONi8ReplicateOperands() local 3300 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONi32vmovOperands() local 3312 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONvmovi16ReplicateOperands() local 3329 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONi32vmovNegOperands() local 3336 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONvmovi32ReplicateOperands() local 3351 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addNEONi64splatOperands() local 3362 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addComplexRotationEvenOperands() local 3368 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addComplexRotationOddOperands() local 3374 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); addMveSaturateOperands() local 3999 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftExpr); tryParseShiftRegister() local 4223 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); parseCoprocOptionOperand() local 4466 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LaneIndex); parseVectorLane() local 4801 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(MemBarrierID); parseMemBarrierOptOperand() local 4869 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ISBarrierID); parseInstSyncBarrierOptOperand() local 5077 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); parsePKHImm() local 5159 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); parseShifterImm() local 5221 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); parseRotImm() local 5281 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm1Exp); parseModImm() local 5376 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LSBExpr); parseBitfield() local 5505 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset); parseAM3Offset() local 5698 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); parseMemory() local 5756 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset); parseMemory() local 5879 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); parseMemRegOffsetShift() local 6058 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ImmVal); parseOperand() local 7787 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm()); validateInstruction() local 10875 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(AttrExpr); parseDirectiveEabiAttr() local 10909 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); parseDirectiveEabiAttr() local 11153 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); parseDirectiveSetFP() local 11188 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); parseDirectivePad() local 11359 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(IndexExpression); parseDirectivePersonalityIndex() local 11383 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); parseDirectiveUnwindRaw() local 11470 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); parseDirectiveMovSP() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | Operator.h | 51 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) in getOpcode() 52 return CE->getOpcode(); in getOpcode() 106 static bool classof(const ConstantExpr *CE) { in classof() argument 107 return CE->getOpcode() == Instruction::Add || in classof() 108 CE->getOpcode() == Instruction::Sub || in classof() 109 CE->getOpcode() == Instruction::Mul || in classof() 110 CE->getOpcode() == Instruction::Shl; in classof() 147 static bool classof(const ConstantExpr *CE) { in classof() argument 148 return isPossiblyExactOpcode(CE->getOpcode()); in classof() 377 else if (auto *CE in classof() 417 classof(const ConstantExpr *CE) classof() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86WinCOFFStreamer.cpp | 24 std::unique_ptr<MCCodeEmitter> CE, in X86WinCOFFStreamer() 26 : MCWinCOFFStreamer(C, std::move(AB), std::move(CE), std::move(OW)) {} in X86WinCOFFStreamer() 66 std::unique_ptr<MCCodeEmitter> &&CE, in createX86WinCOFFStreamer() 70 new X86WinCOFFStreamer(C, std::move(AB), std::move(CE), std::move(OW)); in createX86WinCOFFStreamer() 23 X86WinCOFFStreamer(MCContext &C, std::unique_ptr<MCAsmBackend> AB, std::unique_ptr<MCCodeEmitter> CE, std::unique_ptr<MCObjectWriter> OW) X86WinCOFFStreamer() argument 63 createX86WinCOFFStreamer(MCContext &C, std::unique_ptr<MCAsmBackend> &&AB, std::unique_ptr<MCObjectWriter> &&OW, std::unique_ptr<MCCodeEmitter> &&CE, bool RelaxAll, bool IncrementalLinkerCompatible) createX86WinCOFFStreamer() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAnnotateKernelFeatures.cpp | 71 static bool visitConstantExpr(const ConstantExpr *CE); 96 bool AMDGPUAnnotateKernelFeatures::visitConstantExpr(const ConstantExpr *CE) { in visitConstantExpr() argument 97 if (CE->getOpcode() == Instruction::AddrSpaceCast) { in visitConstantExpr() 98 unsigned SrcAS = CE->getOperand(0)->getType()->getPointerAddressSpace(); in visitConstantExpr() 119 if (const auto *CE = dyn_cast<ConstantExpr>(C)) { in visitConstantExprsRecursively() 120 if (visitConstantExpr(CE)) in visitConstantExprsRecursively()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/MCTargetDesc/ |
H A D | ARCInstPrinter.cpp | 112 if (const auto *CE = dyn_cast<MCConstantExpr>(Expr)) { in printExpr() 114 OS.write_hex(CE->getValue()); in printExpr() 120 const auto *CE = dyn_cast<MCConstantExpr>(BE->getRHS()); in printExpr() local 121 assert(SRE && CE && "Binary expression must be sym+const."); in printExpr() 122 Offset = CE->getValue(); in printExpr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 395 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(FP)) in runStaticConstructorsDestructors() 396 if (CE->isCast()) in runStaticConstructorsDestructors() 397 FP = CE->getOperand(0); in runStaticConstructorsDestructors() 643 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) { in getConstantValue() 644 Constant *Op0 = CE->getOperand(0); in getConstantValue() 645 switch (CE->getOpcode()) { in getConstantValue() 650 cast<GEPOperator>(CE)->accumulateConstantOffset(DL, Offset); in getConstantValue() 658 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); in getConstantValue() 664 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth(); in getConstantValue() 670 uint32_t BitWidth = cast<IntegerType>(CE in getConstantValue() 883 OS << "ConstantExpr not handled: " << *CE; getConstantValue() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CopticCalendar.java | 125 private static final int CE = 1; field in CopticCalendar 258 int era = internalGet(ERA, CE); in handleGetExtendedYear() 288 era = CE; in handleComputeFields()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | CopticCalendar.java | 112 private static final int CE = 1; field in CopticCalendar 234 int era = internalGet(ERA, CE); in handleGetExtendedYear() 264 era = CE; in handleComputeFields()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/MCTargetDesc/ |
H A D | XCoreInstPrinter.cpp | 57 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(BE->getRHS()); in printExpr() local 58 assert(SRE && CE && "Binary expression must be sym+const."); in printExpr() 59 Offset = CE->getValue(); in printExpr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 2021 GenericValue Interpreter::getConstantExprValue (ConstantExpr *CE, 2023 switch (CE->getOpcode()) { 2025 return executeTruncInst(CE->getOperand(0), CE->getType(), SF); 2027 return executeZExtInst(CE->getOperand(0), CE->getType(), SF); 2029 return executeSExtInst(CE->getOperand(0), CE->getType(), SF); 2031 return executeFPTruncInst(CE->getOperand(0), CE [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/ |
H A D | CodeEmitter.h | 59 const MCCodeEmitter &CE, ArrayRef<MCInst> S) in CodeEmitter() 60 : STI(ST), MAB(AB), MCE(CE), VecOS(Code), Sequence(S), in CodeEmitter() 58 CodeEmitter(const MCSubtargetInfo &ST, const MCAsmBackend &AB, const MCCodeEmitter &CE, ArrayRef<MCInst> S) CodeEmitter() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMWinCOFFStreamer.cpp | 21 std::unique_ptr<MCCodeEmitter> CE, in ARMWinCOFFStreamer() 23 : MCWinCOFFStreamer(C, std::move(AB), std::move(CE), std::move(OW)) {} in ARMWinCOFFStreamer() 20 ARMWinCOFFStreamer(MCContext &C, std::unique_ptr<MCAsmBackend> AB, std::unique_ptr<MCCodeEmitter> CE, std::unique_ptr<MCObjectWriter> OW) ARMWinCOFFStreamer() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCELFStreamer.cpp | 47 std::unique_ptr<MCCodeEmitter> CE) { in createAVRELFStreamer() 49 std::move(CE)); in createAVRELFStreamer() 44 createAVRELFStreamer(Triple const &TT, MCContext &Context, std::unique_ptr<MCAsmBackend> MAB, std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> CE) createAVRELFStreamer() argument
|